﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:skin="clr-namespace:UBCon.Controls.SkinManagers"
                    
                    >

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonWindowBorderBrush}" Color="#FF217346"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuBackgroundBrush}" Color="#FF217346"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuItemsPanelBrush}" Color="#FF217346"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedGalleryItemBrush}" Color="#FFD3F0E0" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedMenuBackgroundBrush}" Color="#FF439467" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverMenuBackgroundBrush}" Color="#FF0A6332" />

    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverBackgroundBrush}" Color="#FFD3F0E0"/>
    
    <SolidColorBrush x:Shared="True"  x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedBorderBrush}"  Color="#FF9FD5B7" />
    
    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverBorderBrush}" Color="#FFD3F0E0"/>
   
    <SolidColorBrush Color="#FF9FD5B7" 
                     x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedBackgroundBrush}"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DecoratorBrush}" Color="#FF439467"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButtonPressedStateBrush}" Color="#FF0A6332"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=FooterBackground}" Color="#FF217346"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrowImage_MouseOverStateBrush}" Color="#FF439467"/>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=LeftArrowImage_MouseOverState}"
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M15,4 L3,4 L7,0 L5,0 L0,5 L5,10 L7,10 L3,6 L15,6z" 
                                 Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedMenuBackgroundBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedMenuBackgroundBrush}}" 
                             Thickness="0.6" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <Pen Thickness="2.15" 
         StartLineCap="Flat" 
         EndLineCap="Flat" 
         Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DecoratorBrush}}"
         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverStatePen}"/>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DecoratorBrush}}" 
                                 Geometry="M0,0 L9,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverStatePen}}"/>
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DecoratorBrush}}" 
                                 Geometry="M9,0 L0,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverStatePen}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <Pen Thickness="2.15" 
         StartLineCap="Flat" 
         EndLineCap="Flat" 
         Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButtonPressedStateBrush}}"
         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedStatePen}"/>
    
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButtonPressedStateBrush}}" 
                                 Geometry="M0,0 L9,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedStatePen}}"/>
                <GeometryDrawing Brush="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButtonPressedStateBrush}}" 
                                 Geometry="M9,0 L0,9"
                                 Pen="{DynamicResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedStatePen}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

</ResourceDictionary>